3.185 \(\int \frac {(a x^n)^{-1/n}}{x} \, dx\)

Optimal. Leaf size=13 \[ -\left (a x^n\right )^{-1/n} \]

[Out]

-1/((a*x^n)^(1/n))

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {15, 30} \[ -\left (a x^n\right )^{-1/n} \]

Antiderivative was successfully verified.

[In]

Int[1/(x*(a*x^n)^n^(-1)),x]

[Out]

-(a*x^n)^(-n^(-1))

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\left (a x^n\right )^{-1/n}}{x} \, dx &=\left (x \left (a x^n\right )^{-1/n}\right ) \int \frac {1}{x^2} \, dx\\ &=-\left (a x^n\right )^{-1/n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 13, normalized size = 1.00 \[ -\left (a x^n\right )^{-1/n} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x*(a*x^n)^n^(-1)),x]

[Out]

-(a*x^n)^(-n^(-1))

________________________________________________________________________________________

fricas [A]  time = 0.76, size = 12, normalized size = 0.92 \[ -\frac {1}{a^{\left (\frac {1}{n}\right )} x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/((a*x^n)^(1/n)),x, algorithm="fricas")

[Out]

-1/(a^(1/n)*x)

________________________________________________________________________________________

giac [A]  time = 0.16, size = 13, normalized size = 1.00 \[ -\frac {1}{\left (a x^{n}\right )^{\left (\frac {1}{n}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/((a*x^n)^(1/n)),x, algorithm="giac")

[Out]

-1/(a*x^n)^(1/n)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 14, normalized size = 1.08 \[ -\left (a \,x^{n}\right )^{-\frac {1}{n}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x/((a*x^n)^(1/n)),x)

[Out]

-1/((a*x^n)^(1/n))

________________________________________________________________________________________

maxima [A]  time = 1.50, size = 18, normalized size = 1.38 \[ -\frac {1}{a^{\left (\frac {1}{n}\right )} {\left (x^{n}\right )}^{\left (\frac {1}{n}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/((a*x^n)^(1/n)),x, algorithm="maxima")

[Out]

-1/(a^(1/n)*(x^n)^(1/n))

________________________________________________________________________________________

mupad [B]  time = 1.02, size = 13, normalized size = 1.00 \[ -\frac {1}{{\left (a\,x^n\right )}^{1/n}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*(a*x^n)^(1/n)),x)

[Out]

-1/(a*x^n)^(1/n)

________________________________________________________________________________________

sympy [A]  time = 1.31, size = 32, normalized size = 2.46 \[ \begin {cases} - a^{- \frac {1}{n}} \left (x^{n}\right )^{- \frac {1}{n}} & \text {for}\: a \neq 0^{n} \\- \left (0^{n}\right )^{- \frac {1}{n}} \left (x^{n}\right )^{- \frac {1}{n}} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/((a*x**n)**(1/n)),x)

[Out]

Piecewise((-a**(-1/n)*(x**n)**(-1/n), Ne(a, 0**n)), (-(0**n)**(-1/n)*(x**n)**(-1/n), True))

________________________________________________________________________________________